﻿CREATE TABLE [dbo].[ZHSZLog] (
    [id]       INT             IDENTITY (1, 1) NOT FOR REPLICATION NOT NULL,
    [userid]   VARCHAR (50)    NULL,
    [username] NVARCHAR (2000) NULL,
    [cznr]     NVARCHAR (2000) NULL,
    [czrid]    VARCHAR (50)    NULL,
    [czrname]  NVARCHAR (50)   NULL,
    [czrIP]    VARCHAR (50)    NULL,
    [czrq]     DATETIME        CONSTRAINT [DF_ZHSZLog_czrq] DEFAULT (getdate()) NULL,
    CONSTRAINT [PK_ZHSZLog] PRIMARY KEY CLUSTERED ([id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'被操作人账号', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'userid';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'被操作人名', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'username';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作内容', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'cznr';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作人账号', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'czrid';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作人姓名', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'czrname';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'IP', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'czrIP';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'日期', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ZHSZLog', @level2type = N'COLUMN', @level2name = N'czrq';

